/*    */ package com.qmsk.business.store.goodsprice.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.basic.MapUtils;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class GoodsPriceDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfAll(Map<String, Object> params, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 27 */     return getGsonOfParams("selectSqlOfAll", params, nPageIdx, nPageSize, true);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfId(Map<String, Object> params) throws SQLException {
/* 31 */     return getGsonOfParams("selectSqlOfAll", params, false);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfGoodsId(Map<String, Object> params) throws SQLException {
/* 35 */     return getGsonOfParams("selectSqlOfGoodsId", params, false);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfGoodsBarcodeBom0(Long shopId, String barCode) throws SQLException {
/* 39 */     Map params = new HashMap();
/* 40 */     MapUtils.addToMap(params, "barCode", barCode);
/* 41 */     MapUtils.addToMap(params, "shopId", shopId);
/* 42 */     return getGsonOfParams("selectSqlOfGoodsBarcodeBom0", params, Integer.valueOf(0), Short.valueOf((short) 1), false);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfGoodsNo(Long shopId, String goodsCode) throws SQLException {
/* 46 */     Map params = new HashMap();
/* 47 */     MapUtils.addToMap(params, "goodsCode", goodsCode);
/* 48 */     MapUtils.addToMap(params, "shopId", shopId);
/* 49 */     return getGsonOfParams("selectSqlOfGoodsBarcodeBom0", params, Integer.valueOf(0), Short.valueOf((short) 1), false);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfGoodsBarcodeBom1(Long shopId, Long goodsId) throws SQLException {
/* 53 */     Map params = new HashMap();
/* 54 */     MapUtils.addToMap(params, "goodsId", goodsId);
/* 55 */     MapUtils.addToMap(params, "shopId", shopId);
/* 56 */     return getGsonOfParams("selectSqlOfGoodsBarcodeBom1", params, false);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfGoodsId(Map<String, Object> params, Integer nPageIdx, Short nPageSize) throws SQLException
/*    */   {
/* 61 */     return getGsonOfParams("selectSqlOfGoodsId", params, nPageIdx, nPageSize, false);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.store.goodsprice.dao.GoodsPriceDAO
 * JD-Core Version:    0.5.3
 */